package com.erp.gather.domain.bo;

import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 商品侵权词业务对象 erp_seller_store_product_infringing_keywords
 *
 * @author erp
 * @date 2023-12-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ErpSellerStoreProductInfringingKeywordsBo extends BaseEntity {

    /**
     * 主键
     */
//    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 侵权词文本
     */
    @NotNull(message = "侵权词文本不能为空", groups = { AddGroup.class, EditGroup.class })
    private String keywordText;

    /**
     * 侵权词描述
     */
//    @NotBlank(message = "侵权词描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String keywordMemo;

    /**
     * 状态
     */
//    @NotBlank(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String status;

    /**
     * 乐观锁
     */
//    @NotBlank(message = "乐观锁不能为空", groups = { AddGroup.class, EditGroup.class })
    private String revision;

    private Integer times;

    private Integer type;

}
